package com.qf.sy2103.ssm.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Kehu {
    private Integer id;
    private String username;
    private String password;
    private String nickname;
    private String address;
    private Integer money;
    private Integer state;

    public Kehu(String username, String password, String nickname, String address, Integer money, Integer state) {
        this.username = username;
        this.password = password;
        this.nickname = nickname;
        this.address = address;
        this.money = money;
        this.state = state;
    }
}
